/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Graphic;

/**
 *
 * @author macbook
 */



import java.io.Serializable;
import javax.swing.JInternalFrame;

public class MyInternalFrame extends JInternalFrame implements Serializable{
    /**
	 *
	 */
	private static final long serialVersionUID = 1L;
    
    int xOffset = 1, yOffset = 1;

    public MyInternalFrame(String description, int xOffset, int yOffset, int width, int height) {
        super(description,true, //resizable
                                false, //closable
                                false, //maximizable
                                false);//iconifiable

        //...Create the GUI and put it in the window...

        //...Then set the window size or call pack...
        setSize(width,height);

        //Set the window's location.
        setLocation(xOffset, yOffset);

        
    }

}
